feat: add dbus service permission config for update plugin#307
Merged
Conversation
1. Add installation of permission-interfaces JSON config file for the update plugin 2. Define D-Bus service permission for org.deepin.dde.Lastore1 interface 3. Config file lists the dbus service, path, and interface required by the update plugin 4. This supports the control center's new security permission check mechanism Log: Added D-Bus service permission config for update plugin Influence: 1. Verify the permission-interfaces config file is installed to the correct directory 2. Check that the JSON config file contains valid syntax and content 3. Test update plugin functionality with the new permission check mechanism 4. Verify D-Bus communication with org.deepin.dde.Lastore1 service is properly authorized feat: 为更新插件添加 D-Bus 服务权限配置 1. 添加更新插件的权限接口JSON配置文件安装 2. 定义 org.deepin.dde.Lastore1 接口的 D-Bus 服务权限 3. 配置文件列出更新插件所需的 D-Bus 服务、路径和接口 4. 配合控制中心新增的安全权限检查机制 Log: 新增更新插件的 D-Bus 服务权限配置 Influence: 1. 验证权限接口配置文件已安装到正确目录 2. 检查 JSON 配置文件语法和内容是否有效 3. 测试更新插件在新权限检查机制下的功能 4. 验证与 org.deepin.dde.Lastore1 服务的 D-Bus 通信已正确授权 PMS: TASK-390841 Change-Id: I4e9139e72210de6e8ee7a3e4be76869ed05e63e3
There was a problem hiding this comment.
Sorry @xionglinlin, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
deepin pr auto review我来审查这段代码变更,主要涉及CMakeLists.txt和新增的权限接口配置文件。 CMakeLists.txt 变更分析:
新增权限接口配置文件分析:
改进建议:
总体而言,这次变更主要是为了增加权限控制功能,这是一个良好的安全实践。上述建议旨在进一步增强系统的安全性、可靠性和可维护性。 |
mhduiy
approved these changes
Jun 11, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy, xionglinlin The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Log: Added D-Bus service permission config for update plugin
Influence:
feat: 为更新插件添加 D-Bus 服务权限配置
Log: 新增更新插件的 D-Bus 服务权限配置
Influence:
PMS: TASK-390841
Change-Id: I4e9139e72210de6e8ee7a3e4be76869ed05e63e3